package com.itheima.Test;

import com.itheima.utils.DateUtils;

import java.util.Date;

public class DateUtils_Test {


    public static void main(String[] args) throws Exception {



        Date date = DateUtils.parseString2Date("2019-03-05");
        //System.out.println(date);

        Date thisWeekMonday = DateUtils.getThisWeekMonday();
        //System.out.println(thisWeekMonday);

        String FirstDay4ThisMonth = DateUtils.parseDate2String(DateUtils.getFirstDay4ThisMonth());
        //System.out.println(FirstDay4ThisMonth);

        String string = DateUtils.parseDate2String(DateUtils.getLastDayOfWeek(thisWeekMonday));
       //System.out.println(string);

        String string1 = DateUtils.parseDate2String(DateUtils.getDelaythedate(DateUtils.getThisWeekMonday(), 7));
        //System.out.println(string1);

        Date monthEnd = DateUtils.getMonthEnd();
        System.out.println(monthEnd);

    }

}
